libfdt: Add fdt_setprop_inplace_namelen_partial
authorMaxime Ripard <[email protected]>
Tue, 5 Jul 2016 08:26:43 +0000 (10:26 +0200)
committerTom Rini <[email protected]>
Sat, 20 Aug 2016 15:35:04 +0000 (11:35 -0400)
commitea7b1a213e8b01befd05d94620add7cf84883876
treec13650677e4b097ae9eb4dc5468745975086e51d
parent2b941bf96dd66a5730f1dcbcb635e28930aa58fa
libfdt: Add fdt_setprop_inplace_namelen_partial

Add a function to modify inplace only a portion of a property..

This is especially useful when the property is an array of values, and you
want to update one of them without changing the DT size.

Signed-off-by: Maxime Ripard <[email protected]>
Acked-by: Simon Glass <[email protected]>
include/libfdt.h
lib/libfdt/fdt_wip.c